<div class="templates form">

<h2><?php __('Email Configuration');?></h2>

<?php echo $form->create('Template');?>
    <fieldset>
        <legend><?php __('Email Configuration');?></legend>
        <div>
    <?php
        $a=configure::read('e_invite');
        echo $form->input('e_invite',array('type'=>'checkbox','checked'=>!empty($a),'label'=>__('Invitation Email',true)));
        echo "<span class='note'>";
        __('Enable the sending of all invitation email, include invite, uninvite, change and cancel.');
        echo "</span>";
        
        $a=configure::read('e_meetingcomment');
        echo $form->input('e_meetingcomment',array('type'=>'checkbox','checked'=>!empty($a),'label'=>__('Meeting Comment Alert',true)));
        echo "<span class='note'>";
        __('Enable the sending of email which will be sent out after someone comment on a meeting.');
        echo "</span>";
        
        $a=configure::read('e_decisioncomment');
        echo $form->input('e_decisioncomment',array('type'=>'checkbox','checked'=>!empty($a),'label'=>__('Decision Comment Alert',true)));
        echo "<span class='note'>";
        __('Enable the sending of email which will be sent out after someone comment on a decision.');
        echo "</span>";
        
        $a=configure::read('e_statuscomment');
        echo $form->input('e_statuscomment',array('type'=>'checkbox','checked'=>!empty($a),'label'=>__('Status Comment Alert',true)));
        echo "<span class='note'>";
        __('Enable the sending of email which will be sent out after someone comment on a status.');
        echo "</span>";
        
        $a=configure::read('e_updatestatus');
        echo $form->input('e_updatestatus',array('type'=>'checkbox','checked'=>!empty($a),'label'=>__('Update Status Alert',true)));
        echo "<span class='note'>";
        __('Enable the sending of email which will be sent out after someone update the status.');
        echo "</span>";

    ?>
    </div>
    </fieldset>
<?php echo $form->button(__('Submit', true),array('type'=>'submit'));?>&nbsp;
<?php echo $form->button(__('Cancel', true), array('type'=>'button', 'onclick'=>'history.go(-1)'));?>
<?php echo $form->end();?>
</div>

